/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.outbound.upload;

import com.qishuihe.baseinterface.basevo.vo.ResultVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

@Api(tags = "通用附件上传下载接口")
public interface IUpLoad {

    @ApiOperation(value = "附件上传")
    ResultVO<List<FIleVO>> upLoadFiles(MultipartFile[] files);

    @ApiOperation(value = "附件下载")
    void  downLoadFiles(HttpServletResponse response,  List<String> fileIds) throws IOException;
}
